package com.huabo.system.oracle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hbfk.util.PageInfo;
import com.huabo.system.oracle.entity.ProcessSetting;
import com.huabo.system.oracle.entity.TblOuterrule;
import org.apache.ibatis.annotations.*;
import tk.mybatis.mapper.common.Mapper;

import java.math.BigDecimal;
import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface TblOuterruleMapper extends Mapper<TblOuterrule> {


    @SelectProvider(type= TblOuterruleMapperSqlConfig.class,method = "findListByPageInfoFlow")
    List<TblOuterrule> findListByPageInfoFlow(PageInfo<TblOuterrule> outPageInfo, String flowid);
    @SelectProvider(type= TblOuterruleMapperSqlConfig.class,method = "findCountByPageInfoFlow")
    Integer findCountByPageInfoFlow(String flowid);

    @SelectProvider(type= TblOuterruleMapperSqlConfig.class,method = "findInnerruleByFolwid")
    List<TblOuterrule> findInnerruleByFolwid(PageInfo<TblOuterrule> pageInfo, String orgid, String name, String status, String flowid);
    @SelectProvider(type= TblOuterruleMapperSqlConfig.class,method = "findCountInnerruleByFolwid")
    Integer findCountInnerruleByFolwid(String orgid, String name, String status, String flowid);
}
